package com.yima.baseproj.module.sys.picture;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface PictureMapper extends BaseMapper<PictureEntity> {
    /**
     * 分页+模糊查询
     * @param page
     * @param searchVo
     * @return
     */
    Page<Map> findBySearchVo(@Param("page")Page page, @Param("searchVo") PictureEntity searchVo);

    List<Map> findBySearchVo(@Param("searchVo") PictureEntity searchVo);

    List<PictureEntity> findChoosePictureList(int billId);
}
